<?php

use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generateUrl new
| model instances for testing / seeding your application's database.
|
*/

/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(\App\Models\Admin\PanxAdmin::class, function (Faker $faker) {
    $name = $faker->name;
    $email = $faker->unique()->safeEmail;

    return [
        'name'          => $name,

        'account'       => $email,
        'email'         => $email,

        'panx_id'       => 1,
        'password'      => 'fake pass word',
    ];
});
